﻿#region 信息

// Copyright©2014 Rex Rao all rights reserved.
// File name : SoMcCoffee\Sohobloo.SoPermission.Entity\Controller.cs
// Author : Sohobloo
// Create time : 2014/01/31 23:40
// Update time : 2014/02/05 9:00

#endregion

#region 引用

using System.Collections.Generic;
using Sohobloo.SoMcCoffee.Entity;

#endregion

namespace Sohobloo.SoPermission.Entity
{
    public class Controller : EntityBase
    {
        #region 属性

        public string Name { get; set; }

        public string Path { get; set; }

        public bool Enabled { get; set; }

        public bool IgnoreControl { get; set; }

        public bool MenuDisplay { get; set; }

        public int MenuLevel { get; set; }

        public int MenuOrder { get; set; }

        public virtual Controller MenuParent { get; set; }

        public virtual ICollection<Controller> MenuChildren { get; set; }

        public virtual ICollection<Action> Actions { get; set; }

        #endregion 属性
    }
}